FluentForm\App\Modules\Payments\PaymentMethods\Stripe\StripeProcessor C

Total Complexity 105
Dependencies 7
Dependents 2
Total lines 709
Lines of code 537
Logical lines of code 250
Comment lines 10
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
handleCheckoutSession()
C
27
24 144
handleSessionRedirectBack()
A
43 9 49
getIntentMetaData()
A
49 9 29
recordStripeBillingAddress()
A
47 8 37
processSubscriptionSuccess()
A
47 7 35
getFormattedItems()
A
49 7 31
processStripeSession()
S
51 7 24
retrieveCustomerDetailsFromInvoice()
S
56 6 19
handlePaymentChargeError()
S
44 3 52
retrieveCustomerDetailsFromCharge()
S
58 5 15
handleRefund()
S
52 4 26
getIntentSuccessName()
S
61 4 13
processOneTimeSuccess()
S
61 3 12
handlePaymentAction()
S
62 3 11
getPaymentIntentData()
S
62 1 11
formatAddress()
S
62 1 11
init()
S
74 1 4
getPaymentMode()
S
76 1 4
getDescriptor()
S
69 1 6
recordSubscriptionCharge()
S
76 1 4